package main

import "fmt"

const (
	// 定义每分钟的秒数
	SecondsPerMinute = 60

	// 定义每小时的秒数
	SecondsPerHour = SecondsPerMinute * 60

	// 定义每天的秒数
	SecondsPerDay = SecondsPerHour * 24
)

func resolveTime(seconds int) (day, hour, minute int) {
	day = seconds / SecondsPerDay
	hour = seconds / SecondsPerHour
	minute = seconds / SecondsPerDay
	return
}

func main() {
	day, hour, minute := resolveTime(18000)
	fmt.Println(day, hour, minute)
}
